package com.example.fms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.fms.utils.UserVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("rights")
public class Right extends UserVo {
    //id
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    @TableField("level")
    private String level;


    @TableField("pid")
    private Long pid;


    @TableField("path")
    private String path;


    @TableField("auth_name")
    private String authName;





}
